const Router = require('@koa/router')

const jingdianRouter = new Router({
    prefix:'/jingdian'
})

jingdianRouter.get('/',(ctx,next)=>{
    ctx.body = {
        message: 'jingdian home page'
    }
})

jingdianRouter.post('/add',(ctx,next)=>{
    ctx.body = {
        message: 'add jingdian'
    }
})

module.exports = jingdianRouter;